package com.kgc.app.condition;

import java.io.Serializable;

/**
 * 封装了APP信息查询的条件属性
 */
public class AppInfoCondition implements Serializable {

    private String softwareName; // 软件名称
    private Long status; // app状态
    private Long flatformId; // 所属平台
    private Long categoryLevel1; // 一级分类
    private Long categoryLevel2; // 二级分类
    private Long categoryLevel3; // 三级分类
    private Long devId; //用户id
    private Integer pageNo = 1; // 当前页
    private Integer pageSize = 5; // 当前页显示的数据条数

    @Override
    public String toString() {
        return "AppInfoCondition{" +
                "softwareName='" + softwareName + '\'' +
                ", status=" + status +
                ", flatformId=" + flatformId +
                ", categoryLevel1=" + categoryLevel1 +
                ", categoryLevel2=" + categoryLevel2 +
                ", categoryLevel3=" + categoryLevel3 +
                ", devId=" + devId +
                ", pageNo=" + pageNo +
                ", pageSize=" + pageSize +
                '}';
    }

    public String getSoftwareName() {
        return softwareName;
    }

    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getFlatformId() {
        return flatformId;
    }

    public void setFlatformId(Long flatformId) {
        this.flatformId = flatformId;
    }

    public Long getCategoryLevel1() {
        return categoryLevel1;
    }

    public void setCategoryLevel1(Long categoryLevel1) {
        this.categoryLevel1 = categoryLevel1;
    }

    public Long getCategoryLevel2() {
        return categoryLevel2;
    }

    public void setCategoryLevel2(Long categoryLevel2) {
        this.categoryLevel2 = categoryLevel2;
    }

    public Long getCategoryLevel3() {
        return categoryLevel3;
    }

    public void setCategoryLevel3(Long categoryLevel3) {
        this.categoryLevel3 = categoryLevel3;
    }

    public Long getDevId() {
        return devId;
    }

    public void setDevId(Long devId) {
        this.devId = devId;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
